<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .box {
      width: 100px;
      height: 100px;
      background-color: #f00;
      border: 50px solid orange;
      padding: 30px;
      /* 不占据空间 */
      outline: 30px solid #0f0;
    }

    a {
      margin-top: 100px;
      display: inline-block;
      outline: none;
    }

    input {
      outline: none;
    }
  </style>
</head>

<body>
  <div class="box"></div>
  <a href="#">百度一下</a>
  <input type="text">
</body>

</html>